package com.twu.biblioteca.ui;

import java.util.ArrayList;

/**
 * Created by S ARUNA on 23-04-2014.
 */
//Class which contains all the options in the main menu ..extensible UI
public class MainMenu {
    private static final ArrayList<String> MenuOptions=new ArrayList<String>();
    public static String getMainMenu()
    {
        int index=1;
        String MenuAsString="";
        for(String options:MenuOptions)
        {
            MenuAsString+=(index+"\t"+options)+"\n";
            index++;
        }
        return MenuAsString;
    }
    public static void addMenuOptions(String menuoption)
    {
        MenuOptions.add(menuoption);
    }
}
